import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const xieyi: AppRouteRecordRaw = {
  path: '/xieyi',
  name: 'xieyi',
  component: DEFAULT_LAYOUT,
  meta: {
    locale: '协议管理',
    requiresAuth: true,
    icon: 'icon-menu-unfold',
    order: 8,
  },
  children: [
    {
      path: 'xieyiList',
      name: 'xieyiList',
      component: () => import('@/views/xieyi/xieyiList.vue'),
      meta: {
        locale: '协议列表',
        requiresAuth: true,
        icon: 'icon-list',
        roles: ['*'],
      },
    }
  ],
};

export default xieyi;
